/*
 * @Author: cgl
 * @Date: 2023-04-19 14:57:57
 * @LastEditors: cgl
 * @LastEditTime: 2023-04-25 15:55:10
 * @FilePath: \public-health-emergencies-fed:\radiation-hygiene-fe\src\api\slides\slide.js
 * @Description: 
 * 
 * Copyright (c) 2023 by cgl/微盛信息产业有限公司, All Rights Reserved. 
 */
import request from '@/utils/request'

// 查询滑片登记分页列表
export function slidesList(data) {
  return request({
    url: '/basic/registration/slides/list',
    method: 'post',
    data,
  })
}
// 导出滑片登记列表
export function slidesExport(data) {
  return request({
    url: `/basic/registration/slides/export`,
    method: "post",
    data,
  });
}
// 查询滑片登记列表
export function slidesListing(params) {
  return request({
    url: '/basic/registration/slides/listing',
    method: 'get',
    params,
  })
}
// 切换样品组重新计算
export function changeSample(data) {
  return request({
    url: `/basic/registration/slides/changeSample`,
    method: "post",
    data,
  });
}
// 导入
export function slidesImport(data) {
  return request({
    url: `/basic/registration/slides/importData`,
    method: "post",
    data,
  });
}
// 获取滑片登记详细信息
export function slidesDetail(registrationSlidesId) {
  return request({
    url: '/basic/registration/slides/getInfo/' + registrationSlidesId,
    method: 'get'
  })
}
// 新增滑片登记
export function slidesAdd(data) {
  return request({
    url: `/basic/registration/slides/add`,
    method: "post",
    data,
  });
}
// 删除滑片登记
export function slidesDelete(registrationSlidesIds) {
  return request({
    url: '/basic/registration/slides/remove/' + registrationSlidesIds,
    method: 'get'
  })
}